import request from "@/utils/request";

/* 获取年级列表*/
export function getTeachers(data) {
    return request({
        url:'http://127.0.0.1:8899/teacher-server/eduTeacher/getTeachers',
        method: 'post',
        data
        })
}
/* 多个文件上传*/
export function uploadMulti(data) {
    return request({
        url:'http://127.0.0.1:8899/teacher-server/files/uploadMulti',
        method: 'post',
        headers: {'Content-Type':'multipart/form-data'},
        contentType: false,
        data
    })
}
/* 单个文件上传*/
export function upload(data) {
    return request({
        url:'http://127.0.0.1:8899/teacher-server/files/upload',
        method: 'post',
        headers: {'Content-Type':'multipart/form-data'},
        contentType: false,
        data
    })
}



export default {}
